// "use strict";
let Lesson = {
  lists: [
    { name: "js", price: 100 },
    { name: "mysql", price: 212 },
    { name: "vue.js", price: 98 }
  ],
  get total() {
    return this.lists.reduce((t, l) => t + l.price, 0);
  }
};
console.log(Lesson.total);
Lesson.total = 1341;
console.log(Lesson.total);
